package com.asiainfo.service.impl;

import com.asiainfo.argumentResolver.IArgumentResolver;
import com.asiainfo.service.IHandlerAdapterService;
import sun.plugin2.liveconnect.ArgumentHelper;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.util.Map;

public class IHandlerAdapterServiceImpl implements IHandlerAdapterService {
    @Override
    public Object handle(HttpServletRequest req, HttpServletResponse rep, Method method, Map<String, Object> beans)
    {
        Class<?>[] paramClasszzs = method.getParameterTypes();
        Object[] args = new Object[paramClasszzs.length];
//        Map<String,Object> argumentResolvers = getBeansOfType(beans, ArgumentHelper.class)
//        Map<String,Object> argumentResolvers = getd
        return null;
    }

//    private Map<String,Object> getBeansOfType(Map<String,Object> beans, Class<IArgumentResolver>)
}
